package service;

import dao.WxUserFormIdDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.WxUserFormId;

import java.util.List;
import java.util.Map;

/**
 * Created by asus on 2019/1/30.
 */
@Service
public class WxUserFormIdService {
    @Autowired
    WxUserFormIdDao formIdDao;

    public int addWxUserFormId(Map map){
      return formIdDao.addWxUserFormId(map);
    }
    public List<WxUserFormId> getWxUserFormIdList(String openId){
      return formIdDao.getWxUserFormIdList(openId);
     }

    public int deleteWxUserFormId(Long id){
      return formIdDao.deleteWxUserFormId(id);
    }
}
